﻿<%@ Page Title="" Language="C#" MasterPageFile="~/System/MasterPage_Base.master" AutoEventWireup="true" CodeFile="MenuModify.aspx.cs" Inherits="System_Account_MenuModify" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" Runat="Server">
<style type="text/css">

.td1
{
	height:30px;
	border:solid 1px #333333;
	background-color:#CCCCCC;
}

.td2
{
	height:30px;
	border:solid 1px #333333;
}

</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" Runat="Server">
    目录编辑
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">
    <table border="0" style="border-collapse:collapse;">
        <col style="width:100px;" />
        <col style="width:360px;" />
        <tr>
            <td class="td1">目录名称</td>
            <td class="td2">
                <asp:DropDownList ID="drop_Modular" runat="server" CssClass="DropDownList" Width="312">
                    <asp:ListItem Value="0" Text="--请选择--"></asp:ListItem>
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" 
                ValidationGroup="Check" ControlToValidate="drop_Modular" InitialValue="0"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="td1">模块名称</td>
            <td class="td2">
                <asp:TextBox ID="txt_MenuName" runat="server" CssClass="TextBox" Width="300"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" 
                ValidationGroup="Check" ControlToValidate="txt_MenuName"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="td1">模块编码</td>
            <td class="td2">
                <asp:TextBox ID="txt_MenuCode" runat="server" CssClass="TextBox" Width="300"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" 
                ValidationGroup="Check" ControlToValidate="txt_MenuCode"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="td1">链接地址</td>
            <td class="td2">
                <asp:TextBox ID="txt_Href" runat="server" CssClass="TextBox" Width="300"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*" 
                ValidationGroup="Check" ControlToValidate="txt_Href"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="td1">排序</td>
            <td class="td2">
                <asp:TextBox ID="txt_OrderNo" runat="server" CssClass="TextBox" Width="100" Text="0" ToolTip="只能输入0到99999"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" 
                ValidationGroup="Check" ControlToValidate="txt_OrderNo"></asp:RequiredFieldValidator>
                <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="只能输入0到99999" 
                ControlToValidate="txt_OrderNo" MinimumValue="0" MaximumValue="99999" ValidationGroup="Check"></asp:RangeValidator>
            </td>
        </tr>
        <tr>
            <td class="td1">状态</td>
            <td class="td2">
                <asp:RadioButtonList ID="radio_Valid" runat="server" 
                    RepeatDirection="Horizontal">
                    <asp:ListItem Text="启用" Value="1" Selected="True"></asp:ListItem>
                    <asp:ListItem Text="禁用" Value="0"></asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align:right; padding-right:10px;">
                <asp:Button ID="btn_Submit" runat="server" Text="提交" CssClass="Button" 
                    onclick="btn_Submit_Click" ValidationGroup="Check"/>
                <input type="button" value="返回" class="Button" onclick="window.location.href='MenuList.aspx'" />
            </td>
        </tr>
    </table>
</asp:Content>

